home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.4 Applications 1997 August / SGI IRIX 6.4 Applications 1997 August.iso / dist / print.idb / usr / lib / X11 / app-defaults / Gmodel.z / Gmodel
Encoding:
Text File  |  1997-07-30  |  5.6 KB  |  176 lines

  1. !
  2. !**************************************************************************
  3. !*                                      *
  4. !*          Copyright (C) 1991, Silicon Graphics, Inc.          *
  5. !*             All Rights Reserved.                  *
  6. !*                                      *
  7. !**************************************************************************
  8. !*
  9. !* File: Gmodel
  10. !*
  11. !* $Revision: 1.2 $
  12. !*
  13. !* Description: App default file graphical model file programs belonging
  14. !*    to the class Gmodel.
  15. !*
  16. !**************************************************************************/
  17.  
  18. !
  19. ! SGI Look & Feel
  20. !
  21. *useSchemes:            all
  22. *schemeFileList:        SgiSpec
  23. *sgiMode:               True
  24.  
  25.  
  26. !
  27. ! GUI model file specific resources
  28. !
  29.  
  30. ! Initial height
  31. Gmodel*geometry: x372
  32.  
  33.  
  34. !
  35. ! SGI Look Resources
  36. !
  37.  
  38. ! Fonts
  39.  
  40. ! all labels should be bold
  41. *XmLabel*fontList:           -*-helvetica-bold-r-normal-*-14-*-*-*-*-*-iso8859-1
  42. *XmLabelGadget*fontList:    -*-helvetica-bold-r-normal-*-14-*-*-*-*-*-iso8859-1
  43. *XmScale*fontList:           -*-helvetica-bold-r-normal-*-14-*-*-*-*-*-iso8859-1
  44. *XmBulletinBoard*labelFontList:    -*-helvetica-bold-r-normal-*-14-*-*-*-*-*-iso8859-1
  45. *optionMenu.XmLabelGadget*fontList:    -*-helvetica-bold-r-normal-*-14-*-*-*-*-*-iso8859-1
  46.  
  47. ! all buttons, toggles, and radio buttons should be plain
  48. *XmPushButton*fontList:        -*-helvetica-medium-r-normal-*-14*iso8859-1
  49. *XmPushButtonGadget*fontList:    -*-helvetica-medium-r-normal-*-14*iso8859-1
  50. *XmToggleButton*fontList:    -*-helvetica-medium-r-normal-*-14*iso8859-1
  51. *XmToggleButtonGadget*fontList:    -*-helvetica-medium-r-normal-*-14*iso8859-1
  52. *optionMenu*fontList:        -*-helvetica-medium-r-normal-*-14*iso8859-1
  53. *XmIconGadget*fontList:        -*-helvetica-medium-r-normal-*-14*iso8859-1
  54. *XmBulletinBoard*buttonFontList: -*-helvetica-medium-r-normal-*-14*iso8859-1
  55.  
  56. ! menuBar entries, panes, popups, and option menus should be oblique
  57. *menuBar*fontList:           -*-helvetica-bold-o-normal-*-14*iso8859-1
  58.  
  59. ! for entries in popup menus
  60. *XmMenuShell*XmPushButton*fontList:  -*-helvetica-bold-o-normal-*-14*iso8859-1
  61. *XmMenuShell*XmLabelGadget*fontList: -*-helvetica-bold-o-normal-*-14*iso8859-1
  62. *XmMenuShell*XmPushButtonGadget*fontList: -*-helvetica-bold-o-normal-*-14*iso8859-1
  63. *XmMenuShell*XmCascadeButton*fontList: -*-helvetica-bold-o-normal-*-14*iso8859-1
  64. *XmMenuShell*XmCascadeButtonGadget*fontList: -*-helvetica-bold-o-normal-*-14*iso8859-1
  65. *XmMenuShell*XmToggleButton*fontList: -*-helvetica-bold-o-normal-*-14*iso8859-1
  66. *XmMenuShell*XmToggleButtonGadget*fontList: -*-helvetica-bold-o-normal-*-14*iso8859-1
  67. *optionPane*fontList:    -*-helvetica-bold-o-normal-*-14*iso8859-1
  68.  
  69. ! Lists
  70. *XmList*fontList:    -*-screen-medium-r-normal-*-14*
  71.  
  72. ! Text fonts
  73. *XmText.fontList:      -*-screen-medium-r-normal-*-14*
  74. *XmTextField.fontList: -*-screen-medium-r-normal-*-14*
  75.  
  76.  
  77. !
  78. ! Spacing stuff, probably belongs in master scheme file
  79. !
  80.  
  81. ! buttons shouldn't look "cramped"
  82. ! (24 pixels across face from top to bottom and 8 in margin on face)
  83. *XmPushButton*marginHeight:     4
  84. *XmPushButton*marginWidth:     7
  85. *XmPushButtonGadget*marginHeight:     4
  86. *XmPushButtonGadget*marginWidth:     7
  87.  
  88. ! option menu buttons shouldn't look "cramped" either 
  89. ! but need to be a bit smaller than regular buttons and the
  90. ! same as the menu bar
  91. *optionMenu*marginHeight:     0
  92. *optionMenu*marginTop:         3
  93. *optionMenu*marginBottom:     3
  94. *optionMenu*marginWidth:     0
  95.  
  96. ! option menu panes are more like pulldown menus than buttons
  97. *optionPane*XmPushButton*marginHeight:    1
  98. *optionPane*XmPushButton*marginWidth:    1
  99. *optionPane*XmPushButton*marginLeft:    3
  100. *optionPane*XmPushButton*marginRight:    3
  101.  
  102. *optionPane*XmPushButtonGadget*marginHeight:    1
  103. *optionPane*XmPushButtonGadget*marginWidth:    1
  104. *optionPane*XmPushButtonGadget*marginLeft:    3
  105. *optionPane*XmPushButtonGadget*marginRight:    3
  106.  
  107. ! move the text in lists slightly right to improve legibility
  108. *XmList*listMarginWidth:        3
  109.  
  110. ! height of menuBar should be 22 pixels 
  111. *menuBar*marginHeight:         1
  112. *menuBar.marginHeight:         0
  113. *menuBar*marginLeft:          1
  114. *menuBar.spacing:          7
  115. *XmMenuShell*marginLeft:      3
  116. *XmMenuShell*marginRight:      4
  117.  
  118. ! spacing between indicator and label should be only 6 in menus
  119. *XmMenuShell*XmToggleButtonGadget*spacing:      2
  120. *XmMenuShell*XmToggleButtonGadget*marginHeight:  0
  121. *XmMenuShell*XmToggleButtonGadget*indicatorSize: 10
  122.  
  123. *XmMenuShell*XmLabelGadget*marginHeight: 4
  124.  
  125. ! spacing between indicator and label should be 8 outside of menus
  126. *XmToggleButtonGadget*spacing:     4
  127. *XmToggleButton*spacing:     4
  128.  
  129. ! spacing between scrollbars and clients should be 2 pixels
  130. *XmScrolledWindow.spacing:     0
  131.  
  132. ! Scrollbars
  133. *XmScrollBar*width:         18
  134. *XmScrollBar*height:         18
  135.  
  136. ! sliders should be slightly narrower than scrollbars ->
  137. ! 12 pixels across the trough as opposed to 14
  138. *XmScale*scaleHeight:         20
  139.  
  140. ! in a perfect world, text fields would be the same size as buttons
  141. ! (28 pixels including shadow) but since lucidatypwriter14 is really
  142. ! only 13 pixels, our text fields will be 27 pixels high
  143. *XmText*marginHeight:        4
  144.  
  145.  
  146. !
  147. ! Color Mappings
  148. !
  149.  
  150. *foreground:                 Black
  151. *background:                 sgi very light grey
  152. *XmList*background:             sgi light grey
  153. *XmPushButton*background:        sgi light grey
  154. *XmPushButtonGadget*background:         sgi light grey
  155. *XmText.background:             sgi light grey
  156. *XmTextField.background:         rosy brown
  157. *troughColor:                  sgi light grey
  158.  
  159. ! color all dialogs, warnings, and errors the same
  160. *XmSelectionBox*background:         sgi very light grey
  161. *XmSelectionBox*XmText*background:     rosy brown
  162. *XmMessageBox*background:         sgi very light grey
  163.  
  164. ! color all radio and toggle buttons when they are selected
  165. *fillOnSelect:                True
  166. *visibleWhenOff:            True
  167. *selectColor:                yellow
  168.  
  169. ! for keyboard traversal
  170. *highlightColor:             Black
  171. *XmText*highlightThickness:             1
  172. *XmTextField*highlightThickness:        1
  173. *XmPushButton*highlightThickness:       1
  174. *highlightThickness:            0
  175.  
  176.